package com.abc.studentmanager.mapper;

import com.abc.studentmanager.domain.Admin;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Classname
 * @Description
 * @Created
 */
public interface AdminMapper {
    List<Admin> queryList(Map<String, Object> paramMap);

    Integer queryCount(Map<String, Object> paramMap);

    int deleteAdmin(List<Integer> ids);

    int addAdmin(Admin admin);

    Admin findById(Integer tid);

    int editAdmin(Admin admin);

    Admin findByAdmin(Admin admin);

    int editPswdByAdmin(Admin admin);
}
